package com.gk.panda.apis.Vo.exports;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description:
 * @author: wangchao
 * @date: 2023/1/11 15:03
 * @version: 1.0
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
@ExcelTarget("eventTodo")
public class ExportEventTodoVO {

    @Excel(name = "事件编号", orderNum = "1", width = 20)
    private String eventSn;

    @Excel(name = "事件标题", orderNum = "2", width = 20)
    private String eventTitle;

    @Excel(name = "机构名称", orderNum = "3", width = 35)
    private String orgName;

    @Excel(name = "上报时间", orderNum = "4", exportFormat = "yyyy-MM-dd HH:mm:ss", width = 20)
    private Date reportTime;

    @Excel(name = "事件描述", orderNum = "5", width = 20)
    private String eventDescription;

    @Excel(name = "完成时间", orderNum = "6", exportFormat = "yyyy-MM-dd HH:mm:ss", width = 20)
    private Date finishTime;

    @Excel(name = "事件状态", orderNum = "7", replace = {"未查看_0","处理中_1","已完成_2"}, width = 20)
    private Integer eventStatus;

    @Excel(name = "处置人", orderNum = "8", width = 20)
    private String fkUpdate;

}
